'use strict';

angular.module('afasApp')
  .controller('RefundsCtrl', ['$scope', 'Services', '$state', '$modal', '$stateParams', '$filter', '_', function ($scope, Services, $state, $modal, $stateParams, $filter, _) {

    // VARIABLE
    $scope.students = [];
  }])
  .controller('RefundCreateCtrl', ['$scope', 'Services', '$state', '$modal', '$stateParams', '$filter', '_', function ($scope, Services, $state, $modal, $stateParams, $filter, _) {

    // VARIABLE
    $scope.students = [];
  }])
  .controller('RefundMoveCtrl', ['$scope', 'Services', '$state', '$modal', '$stateParams', '$filter', '_', function ($scope, Services, $state, $modal, $stateParams, $filter, _) {

    // VARIABLE
    $scope.students = [];
  }])
  .controller('RefundCancelCtrl', ['$scope', 'Services', '$state', '$modal', '$stateParams', '$filter', '_', function ($scope, Services, $state, $modal, $stateParams, $filter, _) {

    // VARIABLE
    $scope.students = [];
    $scope.refund = {
      Enrollment: {}
    };

    Services.getItem('enrollments', $stateParams.id)
    .then(function(results){
      $scope.refund.Enrollment = results.data;
    });
  }]);